package com.java.ReflectionDemo;

public class Student {
    String name;
    int age;
    String address;

    private Student() {
    }

    private Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public Student(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }
    private void func(int x){
        System.out.println("func方法~~");
    }
    public String func2(String name){
        return "你的名字叫做" + name;
    }


    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                '}';
    }
}
